<ui:composition
        xmlns:cc="http://java.sun.com/jsf/composite"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:h="http://java.sun.com/jsf/html">
    <cc:interface>
        <cc:attribute name="inputId" required="true"/>
        <cc:attribute name="label" required="true"/>
        <cc:attribute name="requice" default="false"/>
        <cc:attribute name="rendered" type="boolean"/>
    </cc:interface>
    <cc:implementation>
        <h:panelGroup id="#{cc.attrs.inputId}LabelGroup" styleClass="inputLabel">
            <h:outputLabel styleClass="required" value="#{msg['asterisk']}" rendered="#{cc.attrs.requice}"/>
            <h:outputLabel id="#{cc.attrs.inputId}Label" value="#{cc.attrs.label}#{msg['colon']}"
                           for="#{cc.attrs.inputId}" rendered="#{cc.attrs.rendered}"/>
        </h:panelGroup>
    </cc:implementation>
</ui:composition>